<template>
  <div>
    <input type="radio"  :color='color' :name='name' >                                                  
    <span v-if="$slots.default"><slot></slot></span>
  </div>
</template>

<script lang="ts">
import { Component, Prop, Vue, Watch } from "vue-property-decorator";

@Component({
  components: {}
})
export default class Home extends Vue {
  // data
  a = 'background:'+'red'+'!important'
  // props
  @Prop(String) color!:string
  @Prop(String) name!:string
  // mounted

}
</script>
<style lang="scss" scoped>
@import "../scss/radio.scss";
</style>